home *** CD-ROM | disk | FTP | other *** search
- on fire
- global fire1, fire2, fire3, fire4, fire1x, fire1y, fire2x, fire2y, fire3x, fire3y, fire4x, fire4y
- if fire1 = 0 then
- set the memberNum of sprite 41 to 3
- set fire1x to -20
- set fire1y to -20
- else
- if fire1 = 1 then
- set fire1y to fire1y - 12
- if fire1y < -8 then
- set fire1 to 0
- end if
- set the memberNum of sprite 41 to 2
- end if
- end if
- set the locH of sprite 41 to fire1x
- set the locV of sprite 41 to fire1y
- if fire2 = 0 then
- set the memberNum of sprite 42 to 3
- set fire2x to -20
- set fire2y to -20
- else
- if fire2 = 1 then
- set fire2y to fire2y - 12
- if fire2y < -8 then
- set fire2 to 0
- end if
- set the memberNum of sprite 42 to 2
- end if
- end if
- set the locH of sprite 42 to fire2x
- set the locV of sprite 42 to fire2y
- if fire3 = 0 then
- set the memberNum of sprite 43 to 3
- set fire3x to -20
- set fire3y to -20
- else
- if fire3 = 1 then
- set fire3y to fire3y - 12
- if fire3y < -8 then
- set fire3 to 0
- end if
- set the memberNum of sprite 43 to 2
- end if
- end if
- set the locH of sprite 43 to fire3x
- set the locV of sprite 43 to fire3y
- if fire4 = 0 then
- set the memberNum of sprite 44 to 3
- set fire4x to -20
- set fire4y to -20
- else
- if fire4 = 1 then
- set fire4y to fire4y - 12
- if fire4y < -8 then
- set fire4 to 0
- end if
- set the memberNum of sprite 44 to 2
- end if
- end if
- set the locH of sprite 44 to fire4x
- set the locV of sprite 44 to fire4y
- end
-